home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Examples / Skeleton / UApplicationSkeleton.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  899 b   |  39 lines  |  [TEXT/MPS ]

  1. // UApplicationSkeleton.h
  2. // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved. 
  3.  
  4. #ifndef __UAPPLICATIONSKELETON__
  5. #define __UAPPLICATIONSKELETON__
  6.  
  7. #ifndef __UAPPLICATION__
  8. #include "UApplication.h"
  9. #endif
  10.  
  11. //----------------------------------------------------------------------------------------
  12. // TApplicationSkeleton
  13. //----------------------------------------------------------------------------------------
  14.  
  15. class TApplicationSkeleton: public TApplication
  16. {
  17.     MA_DECLARE_CLASS;
  18.  
  19. public:
  20.     
  21.     TApplicationSkeleton();
  22.         // Constructor
  23.     
  24.     virtual ~TApplicationSkeleton();
  25.         // Destructor
  26.     
  27.     virtual void IApplicationSkeleton();
  28.     
  29.     // Documents
  30.     virtual TDocument* DoMakeDocument(CommandNumber itsCommandNumber, TFile* itsFile);    //    Override
  31.     
  32.     // Commands
  33.     virtual void DoSetupMenus(); // Override        
  34.     virtual void DoMenuCommand(CommandNumber aCommandNumber); // Override
  35.     
  36. };    
  37.  
  38. #endif
  39.